package cn.iocoder.yudao.module.trade.convert.fruitcard;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardUserCreateReqVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardUserExcelVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardUserRespVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardUserUpdateReqVO;
import cn.iocoder.yudao.module.trade.controller.app.fruitcard.vo.AppFruitCardRespVO;
import cn.iocoder.yudao.module.trade.dal.mysql.fruitcard.FruitCardUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 水果卡 Convert
 *
 * @author 管理员
 */
@Mapper
public interface FruitCardUserConvert {

    FruitCardUserConvert INSTANCE = Mappers.getMapper(FruitCardUserConvert.class);

    FruitCardUserDO convert(FruitCardUserCreateReqVO bean);

    FruitCardUserDO convert(FruitCardUserUpdateReqVO bean);

    FruitCardUserRespVO convert(FruitCardUserDO bean);

    List<FruitCardUserRespVO> convertList(List<FruitCardUserDO> list);

    PageResult<FruitCardUserRespVO> convertPage(PageResult<FruitCardUserDO> page);
    PageResult<AppFruitCardRespVO> convertPageApp(PageResult<FruitCardUserDO> page);

    List<FruitCardUserExcelVO> convertList02(List<FruitCardUserDO> list);

}
